How to FETCH DATA from an API using JavaScript